package com.sywb.chuangyebao.view;

import android.os.Bundle;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.sywb.chuangyebao.R;
import com.sywb.chuangyebao.bean.QARichInfo;
import com.sywb.chuangyebao.contract.ContactUsContract;
import com.sywb.chuangyebao.contract.EmpryContract;
import com.sywb.chuangyebao.widget.RichEditText;
import com.sywb.chuangyebao.widget.RichTextView;

import org.bining.footstone.utils.NetUtils;
import org.bining.footstone.widget.PullToRefreshView;

import java.util.LinkedHashMap;
import java.util.List;

import butterknife.BindView;
import butterknife.OnClick;

public class ContactUsActivity extends ActionbarActivity<ContactUsContract.Presenter> implements ContactUsContract.View {

    @BindView(R.id.common_recycler)
    RecyclerView commonRecycler;
    @BindView(R.id.tv_intro)
    TextView tvIntro;

    @Override
    public int getLayoutId(Bundle bundle) {
        return R.layout.activity_contactus;
    }

    @Override
    public void initView(Bundle bundle) {
        super.initView(bundle);
        setTitle(R.string.contact_us);
    }

    @Override
    public void initPresenter() {
        mPresenter.initPresenter(this);
    }

    @Override
    public RecyclerView getRecyclerView() {
        return commonRecycler;
    }

    @Override
    public void setNoData(boolean isNoData) {
    }

    @Override
    public void setTvIntro(String intro) {
        tvIntro.setText(intro);
    }
}
